package com.rzn.reading.service;

import com.rzn.reading.model.dto.rank.CreateRankInputDTO;

/**
 * <p>
 * 评级表 服务类
 * </p>
 *
 * @author rzn
 * @since 2022-02-12
 */
public interface RankService  {

    Boolean insertRank(CreateRankInputDTO createRankInputDTO);

    Double getAvgRank(Integer literatureId);
}
